package org.xp.judgeplatform.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("problem_sets")
public class ProblemSet {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String name;
    private String description;
    
    @TableField("creator_id")
    private Integer creatorId;
    
    @TableField("is_public")
    private Boolean isPublic;
    private String inviteCode;
    private String status;
    private Integer memberCount;
    private Integer problemCount;

    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
}
